#include "event.h"

uint16_t g_events = 0;

void set_event(uint16_t event)
{
	g_events |= event;
}

void clear_event(uint16_t event)
{
	g_events &= ~event;
}

uint8_t check_event(uint16_t event)
{
	return (g_events & event)?1:0;
}

